<?php
$this->load->view('common/header',
array(
  'title' =>'添加终端'
));
$this->load->view('common/sliderbar',
array(
  'menu'   => 'terminal',
  'option' => 'terminaladd'
));
 ?>
 <style>
    .none{
      border: 1px solid #f99;
    }
 </style>
<script type="text/javascript" src="../public/js/My97DatePicker/WdatePicker.js"> </script>
	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<a>终端管理</a>
				</li>
			</ul>
		</div>
		<div class="page-content">
			<div class="page-header">
				<h1>添加终端</h1>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-12">
				<!-- <input id="stime" name="stime" type="text" class="Wdate" readonly>
				<input id="otime" name="otime" type="text" class="Wdate" readonly> -->
				<form class="form-horizontal" action="/shop/shop_add_go" method="post">
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="tename">终端客户(姓名)</label>
						<div class="col-sm-9">
							<input type="text" id="tename" class="col-xs-10 col-sm-2" name="tename">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="tetel">电话</label>
						<div class="col-sm-9">
							<input type="text" id="tetel" class="col-xs-10 col-sm-2" name="tetel">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="tebirth">出生年月</label>
						<div class="col-sm-9 YMD" data-ys="2017" data-ye="1880">
							<select class="YYYY" name="birth-YYYY">
		            <option value="">请选择 年</option>
            	</select>
							<select class="MM" name="birth-MM">
	            	<option value="">选择 月</option>
            	</select>
						  <select class="DD" name="birth-DD">
            		<option value="">选择 日</option>
            	</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="shopid">店家</label>
						<div class="col-sm-9">
							<!-- <input type="text" id="shopid" class="col-xs-10 col-sm-2" name="shopid"> -->
              <!-- <select class="" id="shopid" name="shopid" style="width:180px;">
                <option value="">选择店铺</option>
              </select> -->
              <span class="J_selectshopitem">未选择店铺</span>
              <a href="javascript:;" style="line-height:27px;" class="selectshop">选择店铺</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="bid">项目(品牌)</label>
						<div class="col-sm-9">
							<!-- <input type="text" id="bid" class="col-xs-10 col-sm-1" name="bid"> -->
              <!-- <select class="" id="bid" name="bid" style="width:180px;">
                <option value="">选择品牌</option>
              </select> -->
              <span class="J_selectbranditem">未选择品牌</span>
              <a href="javascript:;" style="line-height:27px;" class="selectbrand">选择品牌</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="teteacher">负责老师</label>
						<div class="col-sm-9">
						  <input type="text" id="teteacher" class="col-xs-10 col-sm-2" name="teteacher">
            </div>
					</div>
					<div class="form-group">
						<input type="button" class="btn btn-primary btn-lg" id="teadd" style="margin-left: 40%; margin-top:20px; display: block; padding-top: 3px; padding-bottom: 3px;" value="添  加">
					</div>
				</form>
			</div>
		</div>

		</form>
	</div>
  <script type="text/javascript" src="../public/js/common/YMD.js"></script>
	<script type="text/javascript" src="../public/js/terminal/terminaladd.js"></script>
	<script type="text/javascript" src="../public/js/shopbranditem/shopbranditem.js"></script>
  <!-- <script type="text/javascript">
    $('#stime').focus(function () {
        WdatePicker({ skin: 'whyGreen', dateFmt: 'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'otime\');}' });
    });
    $('#otime').focus(function () {
        WdatePicker({ skin: 'whyGreen', dateFmt: 'yyyy-MM-dd',minDate:'#F{$dp.$D(\'stime\');}' });
    });
  </script> -->
	<?php
$this->load->view('common/footer');
?>
